import enum


class BugStatus(enum.Enum):

    new = 7
    incomplete = 6
    invalid = 5
    wont_fix = 4
    in_progress = 3
    fix_committed = 2
    fix_released = 1


print('\nMember name: {}'.format(BugStatus.wont_fix.name))
print('\nMember value: {}'.format(BugStatus.wont_fix.value))
print()
# 枚举类不能实例化
# a = BugStatus()
